home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
007
/
advbas40.arc
/
SOURCE.DOC
< prev
next >
Wrap
Text File
|
1987-12-13
|
2KB
|
49 lines
Source file information:
SOURCE.ARC contains the source code for all ADVBAS routines. This
consists of the assembly listings (.ASM files). You can access these
files using the enclosed ARCE utility, by typing "ARCE SOURCE"
(without the quotes).
BASIC source files (outside of SOURCE.ARC):
The file MONKEY.BAS is the source for a file time/date/attribute
modification utility. It provides example usage of the FINDFIRSTF
series of ADVBAS functions, among other things.
The file XREF.BAS is the source for a cross-reference generator.
Compile this with no switches, and link with ADVBAS in the usual
manner. This will provide useful cross-reference listings for your
programs, provided that they conform to the interpreted BASIC
format-- the BASIC program to be xreffed must be in tokenized form,
and must contain line numbers on every line.
The file COMBLINE.BAS is the source for a line combiner. Compile
this with no switches, and link with ADVBAS in the usual manner.
COMBLINE can be used on programs in interpreted BASIC format to
crunch programs down to the smallest possible size. It combines as
many lines together as possible without changing the program
function. For example:
10 REM This is a test
20 PRINT
30 PRINT
40 PRINT"This is only a test"
would be converted into
10 REM This is a test
20 PRINT:PRINT:PRINT"This is only a test"
This is recommended only for debugged BASIC programs. The code
produced will be smaller and faster for interpreted programs, and also
for compiled programs if you are using the DEBUG or ON ERROR options.
You need the program to be comblined in both tokenized and ASCII
formats (TEST.BAS and TEST.ASC, for instance). Output will be an
ASCII file with the extension BCS.